﻿@model warn_info
@{
    HtmlString html = new HtmlString(@Model.warn_content);
    string file_url = "";
    if (Model.file_url.IsNotNull())
    {
        file_url = Url.Action("DownloadGsFile", "File", new { id = @Model.file_url });
    }
    HtmlString title = new HtmlString(@Model.title);
}
<div style="width:100%;text-align:center;padding-top:5px">
    <div style="text-align:center;width:800px;margin-left:auto;margin-right:auto">
        <h1 style="color:#2f8965">@title</h1>
        <h2 style="color:black">@Model.short_content</h2>
        <hr />
        
        发布日期：@Model.data_time 发布人:@Model.OPERATOR &nbsp; @if(file_url.IsNotNull()){<a href="@file_url" style="color:red">详细附件下载</a>}
        <br />
        <br />
        <div style="text-align:left;width:800px;table-layout:fixed;word-wrap: break-word;">
            @html
        </div>
    </div>
</div>